home *** CD-ROM | disk | FTP | other *** search
/ Model Wife / The Best of New Machine Publishing 4 - Disc 2: Model Wife.iso / pc / sampler / dm13.dxr / 00517.ls < prev    next >
Encoding:
Text File  |  1995-09-05  |  1.8 KB  |  64 lines

  1. go(the frame)
  2. set the visible of sprite 7 to 0
  3. if the movieTime of sprite 20 > stop then
  4.   set the movieRate of sprite 20 to 0
  5. end if
  6. if (the movieTime of sprite 20 > 1466) and not soundBusy(1) and (snd1 = 1) then
  7.   puppetSound("D2.AIF")
  8.   set snd1 to 0
  9. end if
  10. if (the movieTime of sprite 20 > 2156) and (the movieTime of sprite 20 < 2186) and not soundBusy(1) and (snd2 = 1) then
  11.   puppetSound("D4.AIF")
  12.   set snd2 to 0
  13. end if
  14. if (the movieTime of sprite 20 > 2886) and not soundBusy(1) and (snd3 = 1) then
  15.   puppetSound("D3.AIF")
  16.   set snd3 to 0
  17. end if
  18. if WALK = 1 then
  19.   if the castNum of sprite 3 = 4 then
  20.     set the castNum of sprite 3 to 2
  21.     set the locV of sprite 3 to 356
  22.     set the locH of sprite 3 to 85
  23.   end if
  24.   if the castNum of sprite 4 = 5 then
  25.     set the castNum of sprite 4 to 3
  26.     set the locV of sprite 4 to 355
  27.     set the locH of sprite 4 to 296
  28.   end if
  29.   set the movieRate of sprite 20 to 1
  30.   set the movieTime of sprite 20 to START + 6
  31.   set the stopTime of sprite 20 to stop + 6
  32.   set count to 0
  33.   repeat while count < 100
  34.     set count to count + 1
  35.   end repeat
  36.   set the visible of sprite 20 to 1
  37.   set WALK to 0
  38.   if ((stop > 2082) and (ok1 = 1)) or ((stop > 1842) and (ok1 = 1)) then
  39.     set TOY1 to 1
  40.   else
  41.     set TOY1 to 0
  42.   end if
  43. end if
  44. if move = 1 then
  45.   set the visible of sprite 2 to 0
  46.   set the visible of sprite 3 to 0
  47.   set the visible of sprite 4 to 0
  48.   set move to 0
  49.   go("move")
  50. end if
  51. if TOY1 = 1 then
  52.   if the mouseDown = 1 then
  53.     if (the mouseV > 159) and (the mouseV < 194) and (the mouseH > 156) and (the mouseH < 302) then
  54.       set the visible of sprite 12 to 1
  55.       set the movieRate of sprite 20 to 1
  56.       set the movieTime of sprite 20 to 2730 + 12
  57.       set stop to 2884 + 12
  58.       set the stopTime of sprite 20 to 2884 + 12
  59.       set TOY1 to 0
  60.       set ok1 to 0
  61.     end if
  62.   end if
  63. end if
  64.